home *** CD-ROM | disk | FTP | other *** search
- function onRelease()
- {
- _alpha = 100;
- if(_parent.ready == true)
- {
- _parent._parent.userAnswer = userAnswer;
- _parent.ready = false;
- _parent._parent.convState = _parent._parent.convState + 1;
- }
- }
- function onRollOver()
- {
- _alpha = 100;
- }
- function onEnterFrame()
- {
- if(scrollTimer == 0)
- {
- this._x -= (_X - xPos) / 5;
- this._y -= (_Y - yPos) / 5;
- }
- else
- {
- scrollTimer--;
- }
- if(_alpha > 50)
- {
- _alpha = _alpha - 5;
- }
- else if(_alpha < 50)
- {
- _alpha = _alpha + 5;
- }
- }
- stop();
- _alpha = 0;
- scale = _xscale;
- rotateStore = _rotation;
- xPos = this._x;
- yPos = this._y;
- _X = _X + scrollPlaceX;
- _Y = _Y + scrollPlaceY;
-